/**
 * @author huchongchong@163.com
 * @version 1.0.0
 * @description 应用启动页面组件, 在路由配置上：pages(主界面)，auth(登录登出等界面)公用同一个<router-outlet>
 */
import { Component, OnInit } from '@angular/core';
import { AnalyticsService } from './@core/utils/analytics.service';

@Component({
  selector: 'ngx-app',
  template: '<router-outlet></router-outlet>',
})
export class AppComponent implements OnInit {

  constructor(private analytics: AnalyticsService) {
  }

  ngOnInit(): void {
    this.analytics.trackPageViews();
  }
}
